package com.witframework.core;

import java.io.Serializable;

import org.hibernate.HibernateException;
import org.hibernate.engine.SessionImplementor;
import org.hibernate.id.IdentifierGenerator;

import com.witframework.util.TimestampBasedUIDGenerator;

public class WitIdentifierGenerator implements IdentifierGenerator{

	public Serializable generate(SessionImplementor arg0, Object arg1) throws HibernateException {		
		return new TimestampBasedUIDGenerator().generate();
	}

}
